/**
 * @Author: 陈瑞鹏
 * @Date:   2023-10-30 16:48:02
 * @Last Modified by:   陈瑞鹏
 * @Last Modified time: 2023-11-30 16:45:02
 */
import mongoose from 'mongoose';
const Schema = mongoose.Schema;
//抽奖日志 表
const DrawLogSchema: mongoose.Schema = new Schema({
  roomId: { type: Number, display: '房间ID', index: true },
  drawData: { type: Array, display: "抽奖数据" },
  excludeArr: { type: Array, display: "不参与抽奖roleId", default: [] },
  roomData: { type: Array, display: "当前局数数据" },
  resultArr: { type: Array, display: "获奖结果" },
  roleIdArr: { type: Array, display: "参与人数" },
  updateTime: { type: String, display: "修改时间" },
  createTime: { type: String, display: '创建时间' },
})
const DrawLog = mongoose.model('DrawLog', DrawLogSchema);
export default DrawLog;